<?php
/**
 * System setting file
 *
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code
 * which is considered copyrighted (c) material of the original comment or credit authors.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @copyright   The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license     GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
 * @package     conteudo
 * @version     1.0 carlos@nextd.com.br sl4vezero
 */
require 'info.php';
$modversion['name']        = _MI_CONTEUDO_NAME;
$modversion['version']     = 1.0;
$modversion['description'] = _MI_CONTEUDO_DESC;
$modversion['author']      = 'sl4vezero';
$modversion['credits']     = 'GUX Brasil';
$modversion['help']        = 'conteudo.html';
$modversion['license']     = 'http://www.fsf.org/copyleft/gpl.html';
$modversion['official']    = 1;
$modversion['image']       = 'images/logo.png';
$modversion['dirname']     = "conteudo"; // Caso deseje trocar o nome do diretorio basta efetuar a mudança sem alterar nada, lembrando que tal alteração mudara também o nome das tabelas

// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";

$modversion['sqlfile']['mysql'] = "sql/mysql.sql";

$modversion['tables'][0] = 'guxbr_conteudo';

// Templates
$i = 1;
$modversion['templates'][$i]['file'] = 'content.html';
$modversion['templates'][$i]['description'] = '';

// Blocks
$modversion['blocks'][1]['file'] = "menu.php";
$modversion['blocks'][1]['name'] = _MI_MENU;
$modversion['blocks'][1]['description'] = "Menu";
$modversion['blocks'][1]['show_func'] = "menu";
$modversion['blocks'][1]['template'] = 'menu.html';

$modversion['hasMain'] = 0;
$modversion['config'][] = array(
	'name'			=> 'default_lang' ,
	'title'			=> $constpref.'_DEFAULT_LANG' ,
	'description'	=> $constpref.'_DEFAULT_LANGDSC' ,
	'formtype'		=> 'text' ,
	'valuetype'		=> 'text' ,
	'default'		=> @$GLOBALS['xoopsConfig']['language'] ,
	'options'		=> array()
) ;

